package commands;

import IA.*;
import java.util.*;
public class CmdGetCustomerQueueIterator extends Command {

    public CmdGetCustomerQueueIterator(InformationAggregator IA) {
        super(IA);
    }
    
    @Override
    public Iterator<WaitingParty> execute() {
        return ia.getCustomerQueue().getLongestFirstIterator();
    }
}
